from flask import Flask, make_response, json, jsonify

app = Flask(__name__)
# app.config['JSON_AS_ASCII'] = False

@app.route('/index')
def index():
    data = {
        'name' : '章三'
    }
    return make_response(json.dumps(data, ensure_ascii=False))
    # return jsonify(data)

if __name__ == '__main__':
    app.run()